.class public Lcom/hierynomus/smbj/common/b;
.super Lcom/hierynomus/protocol/commons/buffer/Buffer;
.source "SMBBuffer.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
        "Lcom/hierynomus/smbj/common/b;",
        ">;"
    }
.end annotation


# static fields
.field private static final e:[B

.field private static final f:[B


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x2

    new-array v0, v0, [B

    .line 1
    fill-array-data v0, :array_0

    sput-object v0, Lcom/hierynomus/smbj/common/b;->e:[B

    const/4 v0, 0x4

    new-array v0, v0, [B

    .line 2
    fill-array-data v0, :array_1

    sput-object v0, Lcom/hierynomus/smbj/common/b;->f:[B

    return-void

    nop

    :array_0
    .array-data 1
        0x0t
        0x0t
    .end array-data

    nop

    :array_1
    .array-data 1
        0x0t
        0x0t
        0x0t
        0x0t
    .end array-data
.end method

.method public constructor <init>()V
    .locals 1

    .line 1
    sget-object v0, Lcom/hierynomus/protocol/commons/buffer/a;->a:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-direct {p0, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;-><init>(Lcom/hierynomus/protocol/commons/buffer/a;)V

    return-void
.end method

.method public constructor <init>([B)V
    .locals 1

    .line 2
    sget-object v0, Lcom/hierynomus/protocol/commons/buffer/a;->a:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-direct {p0, p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;-><init>([BLcom/hierynomus/protocol/commons/buffer/a;)V

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)Lcom/hierynomus/protocol/commons/buffer/Buffer;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "Lcom/hierynomus/smbj/common/b;",
            ">;"
        }
    .end annotation

    const-string v0, "UTF-16"

    .line 1
    invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;

    move-result-object v0

    invoke-virtual {p0, p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(Ljava/lang/String;Ljava/nio/charset/Charset;)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-object p0
.end method

.method public b(Ljava/lang/String;)Lcom/hierynomus/protocol/commons/buffer/Buffer;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "Lcom/hierynomus/smbj/common/b;",
            ">;"
        }
    .end annotation

    if-nez p1, :cond_0

    const/4 p1, 0x0

    .line 1
    invoke-virtual {p0, p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-object p0

    .line 2
    :cond_0
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p1

    mul-int/lit8 p1, p1, 0x2

    invoke-virtual {p0, p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-object p0
.end method

.method public i(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "Lcom/hierynomus/smbj/common/b;",
            ">;"
        }
    .end annotation

    .line 1
    new-array p1, p1, [B

    const/4 v0, 0x0

    .line 2
    invoke-static {p1, v0}, Ljava/util/Arrays;->fill([BB)V

    .line 3
    invoke-virtual {p0, p1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-object p0
.end method

.method public m()Lcom/hierynomus/protocol/commons/buffer/Buffer;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "Lcom/hierynomus/smbj/common/b;",
            ">;"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/hierynomus/smbj/common/b;->e:[B

    invoke-virtual {p0, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-object p0
.end method

.method public n()Lcom/hierynomus/protocol/commons/buffer/Buffer;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "Lcom/hierynomus/smbj/common/b;",
            ">;"
        }
    .end annotation

    .line 1
    sget-object v0, Lcom/hierynomus/smbj/common/b;->f:[B

    invoke-virtual {p0, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-object p0
.end method
